{{ ... }}
class SectionInfo(BaseModel):
    """课程节次信息模型"""
    start: int
    end: int


class WeeksInfo(BaseModel):
    """周次信息模型"""
    start: int
    end: int
    pattern: str


class CourseBase(BaseModel):
    """课程基础模型"""
    course_name: str
{{ ... }}
    campus: str
    location: Dict[str, Any]
    section: SectionInfo
    weeks: WeeksInfo
    className: str
    all_classes: List[str]
    courseType: Optional[str] = None
{{ ... }}
    teacher: TeacherInfo
    day_of_week: int
    location: Dict[str, Any]
    section: SectionInfo
    weeks: WeeksInfo
    courseType: Optional[str] = None


class ClassCoursesResponse(ResponseBase):
{{ ... }}
